#pragma once

class seScore
{
float mCurrentScore;
sf::Image mDigitsImage;
sf::Image mScoreImage[2];
sf::Sprite mDigits[10];
sf::Sprite mScore;

float fAngle; // kat
int type;
int leftBorder,topPos;
public:
	seScore(void);
	~seScore(void);
	void Load(int number);
	void Unload();
	void Init(float cScore,int leftBorder,int topPos);
	void Step();
	void Draw(int back);
	void Draw(int score, int width, int leftBorder, int topPosition);										// rysuje punkty przechowywane w mCurrentScore
	void SetCurrentScore(float currentScore);
	void AddScore(float additionalScore);
	float GetScore();
};
